{% extends app.request.isXmlHttpRequest ? "PopshouseSiteBundle::blank.html.twig" : "PopshouseSiteBundle::layout.html.twig" %}

{% block title %}{{ parent() }} - {{ "nieuws" | trans }}{% endblock %}

{% block content %}
<div class="content">
            <article>
             <h1>{% trans "nieuws" %}</h1>
            <div class="scrollbox generated" style="height:525px;">
            <ol>
            {% for entry in news %}
            <li style="border-bottom:1px solid #2f2f2f;padding:5px 0;">
             <h2>{{ ("title."~entry.id) | trans({},"images") | raw }}</h2>
              <img src="{{ asset('images/photo/news/'~entry.id~'.jpg') }}" style="width:200px;" alt="{{ ("title."~entry.id) | trans({},"images") | raw }}" >
             
              {{ ("text."~entry.id) | trans({},"images") | raw }} 
               </li>
              {% endfor %}
           </ol>
              
            </div>
            </article>
         {% include "PopshouseSiteBundle::arrows.html.twig" %}
        </div>
{% endblock %}